package config

import "time"

type ConfigParknflyStruct struct {
	Id          int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	PushBaseUrl string    `json:"push_base_url" gorm:"type:varchar(255); ; COMMENT:'推送通用url'"`
	Secretkey   string    `json:"secretkey" gorm:"type:varchar(255);"`
	Appid       string    `json:"appid" gorm:"type:varchar(255);"`
	CreatedAt   time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt   time.Time `json:"updated_at" gorm:"type:datetime"`
	Status      int       `json:"status" gorm:"type:tinyint(1); COMMENT:'状态 1使用中'"`
}

func (c *ConfigParknflyStruct) TableName() string {
	return "config_parknfly"
}
